# noinspection PyUnresolvedReferences
from .base import *

SECRET_KEY = 'k9hmpkw^3+-cx@doo@(n7d$4i5q3@_v)d@2m#p5z2cd(0*=rt9'

DEBUG = True

# To set development server ip and port
DEV_SERVER = '0.0.0.0:8000'

# Auto generate code not generate app, only using in development
NOT_CODE_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',

    'rest_framework',
    'rest_framework.authtoken',
]

INSTALLED_APPS += []

# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

# 所有文件、图片存储放到 wch_file_storage/storage中
# MEDIA_URL 默认添加完整地址，开发阶段在dev_database_setting.py 中维护
# 样例 MEDIA_URL = 'http://127.0.0.1:8000/storage/'
MEDIA_URL = ''
MEDIA_ROOT = 'wch_file_storage/storage/'

# noinspection PyUnresolvedReferences
from .dev_database_setting import *
